package com.xhwl.centiotdata.handler.phonogram;

import com.xhwl.centiotdata.pojo.dto.brodcast.PhonogramConfigDTO;
import com.xhwl.common.dto.cent.device.DeviceDTO;
import com.xhwl.common.dto.cent.iotdata.haikang.BroadcastDTO;
import com.xhwl.common.pojo.ResultJson;
import org.springframework.beans.factory.InitializingBean;

/**
 * @author pengjunming
 * @description
 * @date 2022/10/8 10:56
 */
public abstract class PhonogramIntegrationHandler implements InitializingBean {

    public ResultJson customBroadCast(PhonogramConfigDTO config, BroadcastDTO data, DeviceDTO deviceDTO) {
        throw new UnsupportedOperationException();
    }

    //获取音柱设备，并保存到设备中台
    public void pullYinZhuDevice(PhonogramConfigDTO config){
        throw new UnsupportedOperationException("该项目id为"+config.getProjectId()+"，未配置集成配置");
    }
}
